/**  
 * All rights Reserved, Designed By www.flksh.com
 * @date:   2017-10-31 14:24:09   
 * @Copyright: 2013-2017 www.flksh.com Inc. All rights reserved. 
 * 注意：本内容仅限于上海福乐康社区养老服务有限公司内部传阅，禁止外泄以及用于其他的商业目
 */
package com.zx.cloud.domain;

import java.time.OffsetDateTime;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.zx.cloud.model.BasicDomain;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zx.cloud.util.converter.jackson.OffsetDateTimeToIso8601Serializer;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * zx_client_contact-
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ClientContact extends BasicDomain{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 用户id
	 */
	@ApiModelProperty(value = "用户id")
	 private Long clientId;
	/**
	 * 联系人信息
	 */
	@ApiModelProperty(value = "联系人信息")
	 private String contacts;
	/**
	 * 联系人手机号
	 */
	@ApiModelProperty(value = "联系人手机号")
	 private String contactsPhone;
	/**
	 * 亲属关系
	 */
	@ApiModelProperty(value = "亲属关系")
	 private String relativesContacts;
	/**
	 * 通话次数
	 */
	@ApiModelProperty(value = "通话次数")
	 private Integer count;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)		
	 private OffsetDateTime createTime;
	/**
	 * 修改时间
	 */
	@ApiModelProperty(value = "修改时间")
	@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)		
	 private OffsetDateTime updateTime;
    
    public ClientContact(){
    
    }
    
    public Long getClientId() {
        return this.clientId;
    }
    
    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }
    public String getContacts() {
        return this.contacts;
    }
    
    public void setContacts(String contacts) {
        this.contacts = contacts;
    }
    public String getContactsPhone() {
        return this.contactsPhone;
    }
    
    public void setContactsPhone(String contactsPhone) {
        this.contactsPhone = contactsPhone;
    }
    public String getRelativesContacts() {
        return this.relativesContacts;
    }
    
    public void setRelativesContacts(String relativesContacts) {
        this.relativesContacts = relativesContacts;
    }
    public Integer getCount() {
        return this.count;
    }
    
    public void setCount(Integer count) {
        this.count = count;
    }
    public OffsetDateTime getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(OffsetDateTime createTime) {
        this.createTime = createTime;
    }
    public OffsetDateTime getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(OffsetDateTime updateTime) {
        this.updateTime = updateTime;
    }
    
}
